#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "VideoCover.h"
#include "AudioRecordThread.h"
#include "VideoRecordTool.h"
#include "AudioPlayThread.h"

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
    VideoCover* cover;

    AudioRecordThread *audioRecord = nullptr;

    VideoRecordTool *videoRecord = nullptr;

    AudioPlayThread *audioPlayThread = nullptr;

private slots:
    void on_openBtn_clicked();

    void on_playBtn_clicked();

    void on_soundRecordBtn_clicked();

    void on_screenRecordBtn_clicked();

private:
    Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
